save() is deprecated meanwhile and presumably simply calling persist, why your test behaves the same (see https://docs.jboss.org/hibernate/stable/core/javadocs/org/hibernate/Session.html#save(java.lang.Object))
save()