add test activity to prototype below sequence.
1. start activity.
2. after an event, activity finishes automatically (press button or finish loading).
3. start Service which interpret script.