Add test for record testing only based on type.