added test file for categories (incomplete)
re: issue #391