add record test.