Add subquery test.