fix broadcast message not updating last sent; improve coverage