Set up test database and wrote rudimentary server side model tests.