Added test for version query