Add query result namespace change test.