added testcase for grs lookup
added basic end2end query tests
prepared autnumcleanup for run