first draft of CategoryDAO unit tests.  Still need to mock database
contents to be more thorough in testing.