Fixed transactional test cases supporting OrientDB's optimistic tx