rewrite test.scm upon successful compile