Add tests for nth-level superfluous groups