test for saving categories.
tests for deleting "global" and entry categories