Fix for Issue#308 - Added test case for EntityTransaction