Fix test to use passed app.