fix testing for reusable app mode