fixed the tests so that they pass (and are correct)