Restore opts.unformatted to initial value after tests are made.
Relocated tests.