all simple test cases passing