Issue #2491915 by Berdir, miro_dietiker: Test @group detection fails for test classes with non-standard indendation