Added testSimpleQuery_main() test function with simple query example.