Effects: Remove needless operations in tests