Unit testing

TestDefaultSubcategory() implemented