In CDITCK-611 I fixed the original problem but introduced another - there are now missing classes in the deployment.
PassivationIdTest needs to have AfterBeanDiscoveryObserver.class, Cow.class, DummyScoped.class added to the @Deployment.