Adding test for selecting categories.