fixed failing test case