Added unit tests for cancel-style buttons.