Work on Classifier server

- Added general test
- fixed bug in classifier handler