Now that subquery annotations aren't included in the GROUP BY unless explicitly grouped against, the test works on Oracle.