Replaces the InvalidOperationException by a SecurityException. InvalidOperationException was hidding the failure of one test.
Here comes the green for the AsyncRelatedTests. Next step: refactor ;-)