[TEST] Add spec for handling transaction 'error' and 'proposed' events