changes to test-weno and testa to run faster and write the workfile at every iteration