Fixed issue #1553 about composite keys in transaction. Created also 2 new test cases