test cases complete