use record type in tests