added test for checking the categories can be grabbed from json