Changes to make test work with published app.