renamed expect404When to expect404