Fix incorrect tests in the spec for when: