FIX: esp unit test for app generation