Added transaction related tests for insertion