test: Add test for helper to ignore clicks

Ignoring clicks on certain elements will allow users to have click hanlders
which change selected states without butting heads with the selection model
directive.

[ci skip]