[Bug 48914] Move error groups to the test unit granularity