cls test + app.mock()