Add tests for Supply.categorize