added tests for activity_list_or_obj