Attempt to solve unit test problem

There is a problem running unit tests on CI server, since the current
assembly is locked when loading the assembly. Attempting to solve the
issue by using shadow copying.