Categorical: More assigning unittests and test_groupby_sort comparison