add - tests for database actions