Tests that inserts return the proper auto-increment ID.
function testInsertLastInsertID() {
$id = db_insert('test')
->fields(array(
'name' => 'Larry',
'age' => '30',
))
->execute();
$this
->assertIdentical($id, '5', 'Auto-increment ID returned successfully.');
}