In the Hibernate 5 ReplacePersistentCollectionTest test suites, changing the Customer class collection fields into eager fetching and commenting the Assert.assertFalse(Hibernate.isInitialized(customer.getPayments())); line from the testReplacePersistentCollection reproduces the bug clearly.
For now, if the feature is needed, it should only be used with lazily loaded fields.