* [ISSUE #5904] add unit test for directory remote/core. * [ISSUE #5904] remove the all parameter constructor.