add new tests for db