This is modified to better suit our needs, and because micropython
changes in the meantime were troublesome.
Expected outputs can be generated:
./run-tests -d tests --write-exp
Remove any incorrect .exp files before running as they won't be updated
otherwise.