Test for mapping CannotPersistEmptyRepresentationException added.