Change ContinueWith to post callbacks to the ASP.NET SynchronizationContext
Re-factor IOC tests to allow them to be executed against ASP.NET host