rf: move tests inside niquery directory