Added error display for testing. Fixed case sensitivity problem with one class name.