Use fixed number of threads for reftests and force single/sequential testing as well (fixes #1975)