add category unit tests