Added test on last_insert_id