test data set up and category_id fix