add unit test for smartd mngr