add spec for practice of button && add try catch code block to get the error when running specc code