Updated spec tests to return correct strings