I do not think you can disable this. I assume that the unit test project actually runs the application in order to be able to run tests. A similar situation occurred with Silverlight modular modules - the application must be hosted somewhere in order to be able to run the code.
Perhaps you could use something like Stardock ModernMix so that you can switch this application to run inside the window to make it a little less annoying for you.
source share