[TEST] Add spec for handling transaction 'error' and 'proposed' events
[CHORE] Move setEngineStatus to scope in sendController
in order to make it unit-testable
[TEST] Stub setEngineStatus to test that the listener for transactions
is removed after an event