test case error fixed