basic category helpers and a couple of tests
project and test cases fixes