Failing tests with mutable types