make validation error assertions independent of error message localizations (validation errors are localized in Java 7)