unit tests for app-external