added new tests for database management feature