subqueries are now tested