Use app in tests