wrote more tests for db but haven't implemented the functionality that they test yet