Added unit tests for database functionality.