changed categories to ids to allow for duplicate names
updated unit tests for latest environment