Brian Button and myself have been talking heavily on how we do CAS Unit Testing.  Here are a couple of links that will help out.  I think it is about running tests in a separate AppDomain. Here are some links to look at as I work more on this….

http://blogs.gotdotnet.com/ivanmed/PermaLink.aspx/4104271e-dceb-466f-836a-8c791af63ea8

 

http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemAppDomainClassSetAppDomainPolicyTopic.asp