Changed ExpectedExceptionAsync to use PORTABLE condition consistently with ASPNET_K and fix the FileReadLockToETagTestAsync.