Reworked tests
Reworked tests.
Applied primary key fix
Added postgres settings for further driver implementation