Update test-run and test-compile scripts so they sufficiently emulate Heroku's behavior.