send buttons on reconnect
refactor test