fix TestYarnApiClasses