Use t.step to check the button type