Make tests more portable.