set up database unit tests