Tests the db_index_exists() function.
function testDBIndexExists() {
$this
->assertIdentical(TRUE, db_index_exists('node', 'node_created'), 'Returns true for existent index.');
$this
->assertIdentical(FALSE, db_index_exists('node', 'nosuchindex'), 'Returns false for nonexistent index.');
}