Add tests

Tests that the correct key is used for the class name of an item, used
to do selection of bubbles/columns.

Also removed the rootClassName, as this was used to set the itemClassName
but only once drawing had been done.