fix test expected error message