Four Gates and the Trail Test