Adding primary key unit tests. Not passing tests.
Fixing primary_keys. Unit tests pass on mysql.