Test code for inapp script exec