added executeTestQuery() and getSampleData()