Added matching test for SafeHandle.Dispose()