updated queries as supplied by surfmarket
Updated query and modified test to perform retrieval of 2 revisions
dont use misleading var-names