file for unit tests for database functions