fixed simple test cases