Added End to End test for long transactions. Fixed repository issue with gradle