updates to activity unit tests