Writing test for loading app (it involved fixing and using the adaptation mechanism)