Changing context while testing an app