This last assert is confusing: The test name says "Injected remotable methods", but the assert message says "non-remote methods".

Please move this assert to a new unit-test for "Injected non-remote methods" and also check that when you set `M1.save.shared=true`, then `M2.save.shared == false`. That is the behaviour (API contract) we want to preserve in the future, the new unit-test will server as a regression detector.