Add tests for classify() method