Fix bug in db_value_set_primary_key, was checking type incorrectly.
Fixed errors in the example test.c
Create 2 test suites, one for just database connect/disconnect and the other is a port of the example test.c.