added tests for record types