Fixed UI tests to run under linux.