Test/include page tests

Bringing back the pages tests into the tests run by travis

Also cleaning up some issues that they showed.