Get tests functioning

Use self.primary_key syntax over set_primary_key (it's deprecated)
Removes tests for objects that do no exist