Add tests for bind::record