CDK-750. Fix AvroEntityMapperTest for JDK8.

Closes #254