I figured out why this is happening. I need to create the app in the setUp function and it's fine. I'll fix after merging this.