Fix unit test with XAssembly serialization