bugfix to find_category test