Fixing up a test that usually fails in EclipseLink but passes fine in
Hibernate.