added a test to ensure an exception is thrown when a hidden element is clicked