More test cases for Test#app.