testing with and without runApp