cleaned up  test data structure and related functions of testSQLProcessor.