Added plannertester for subqueries plus bugfix for IN expressions