Build the 3 queries and a test env for TD6/part1.