Experimenting with bitmasked elements.
Added negative test to unit tests.