When you try to unit-test a map by using a script functoid of a custom assembly, the unit test is unsuccessful. Additionally, you receive the following error message:
Microsoft.BizTalk.TestTools.BizTalkTestAssertFailException: Transform Failure.