clean up test queries