simplify record_inserted_table spec using connection double.