This test is good except the last part where it checks for Serializable as an interface:
It isn't valid to check Serializable is a business local interface. Remote proxies are required to be serializable, but there's no explicit requirement for local proxies. Most vendors may do that for internal purposes (makes supporting passivation easier), but that's not something CDI needs to worry about.
Our proxies actually are serializable – they just don't implement the interface directly. It's done through another internal interface that takes care of a few other details, so this assert fails. On that note, we should probably change these asserts to:
Probably CDI doesn't need to care about the details on how the vendor ensures a proxy is assignable to the business local interfaces.