Add test case for mananger.go