Adds testhandler and fixes app.yaml