Test trait resolution order. Resolve attributes first, so specs can override them.