tests and category class