Make tests platform independent

Some path were not retrieve the same way depending on the OS,
System.getProperty('java.io.tmpdir') ends or not with a slash.

Do not run SystemTrayNotifierSpec if the host does not support SystemTray.