Fixed spec test cases