added basic test for app scoping