DRY up category path testing.