testDB main class to check database