ISPN-4820 Additional tests for size method in TX context

This also manifests incorrect behaviour as described in https://issues.jboss.org/browse/ISPN-4910