better unix tests handling