Remove platform option when selecting driver, use sinon stub instead. Improve test coverage to 100%.