Added tests for object comparisons and object type identification. Renamed ClassIdentifier to Dispatcher, and fixed a bug where it missed break statements in case-switches