Fixed mgr_tests for smartgrid_mgr.