TestActivityLogic