Update lettuce tests for 'qryrecursion'. Add an argument to the terrain to control RD bit in the query.