Test expected error wording fixed