Test case for a declarative button