added test for record is loaded