Smart button test