Added unit testing for items.

See GH-37.