* fix: only increase counter if broadcast was successful Otherwise we will get account and sequence numbers mismatches. * test: add initial e2e tests for `lib/` Signed-off-by: Julian Strobl <jmastr@mailbox.org>