Wrote specs for get_record_class method