Refactor item categorization tests to use midje. Some cleanup on item browsing tests. Fixed a minor bug with null argument that the testing found. Clean up unused functions in testing lib.