Tests for activity, optionally specify an activityId to separate tmp dir...

...ectory name from other tests.