Parse vars for page route; new tests; minor improvements