Added unit test to test that close button has type=button.