Made LSF tests more portable