UnitTest: NGDS SysAdmin and Client

- Check existing test code and the output
- Complete the rest of test code (Plugin, Model/db) and check the output for  Sysadmin
- Writing unit test for client
- remove dead code (logic, search, base, harvest)