* Update tests structure. * Unit tests use the test database * Add function for creating database engine and session.