setup database unit tests