Add new tests in DatabaseTest