had to move the database definitions to the server
fixed the tests
test in memory