GRADLE-1620: support testng tests declared by o.t.a.Factory annotation.