A bit of refactoring to reuse isCallerMockInvocationHandlerInvoke used for Android
Test that the conversion between old and new MockTypes is fine
Check that classes with a serializableUID are mocked correctly