Adds SPRIO_FORMAT env variable, which is equivalent to the -o/--format option. Accounted for the new env var in the test suite. 6063