add button test and continuous connection check