Implement DBQueryTest