Testing nested transactions in OrientDB