added tests for removeTransaction