Fix tests so that they fail in zsh (for #505)