Tests for activity, optionally specify an activityId to separate tmp directory name from other tests.