Simple tests for the .categories() method