In the class com.saucelabs.junit.WebDriverWithHelperJSONTest, the method setPlatformCapabilities the counter p is incremented twice per loop, once in the for statement and then again in the first line of the loop causing some platforms to be returned incorrect.