Get all tests using database.