working on unit test for User._get_categories()