Fixed bug in setItemClass, added additional tests
Merge pull request #132 from tedivm/setItemClass

Fixed bug in setItemClass, added additional tests