[Fix] - Allow multiple elements with the same behavior

Fixes issue #1 and adds proper tests