[#62889914] Move query test to core

There is a corresponding PR on vcloud-tools.