record type test