Test. Do not pollute OPAM root with the export file.
Add a success message when the test is successful (sorry @altgr no color)
Clean up log files when the command is a success, and do not polute the root of OPAM (ie. everything goes into ~/.opam/log or ~/.opam/<switch>/build/<package>/)