fix tests related to app