Add 'test-category.sh'.

This tests a category's dependency list.