Updated spec test cases