Test add_as_service flag