Made OSX changes to UI testing