Using `assertEqual(w, |])` would give a better message in case of failure.