completed unit test for sample record population