Added a test for RecordType.isInstance