refinement of the QuerySpec model ... now time for basic tests