added routing and pages tests