Test to avoid infinite loop