Fix tests so they fail for the right reasons