Fix expected error message property name