Temporary fix to make build happy again.

This is a quick workaround to make the jdk7 build happy ASAP. All of these tests have simplified counterparts that does not depend on the localized message. This can be fixed properly, but I want this to get in.