get rid of unused type class
Fixup tests; repname to cacheGet (from cacheLookup)
Begin trying to handle tags and categories in the query tests