added some trickier tests for categories