Add tests for insertRecord().