Fixed the four broken testcases in testManager