Changed test strategy for TestRawQuery.