Adding dedicated subquery test, small change to visitSubquery to wrap result in array, add another from clause test