add specs for record_builder