fixing a test case