[MQ] Fix unit test cases failing in VS Test Explorer