application_id moved to session property
app.token is unicode
tests use test app