Adds dozens of parser tests

Trims the output of the <pagelist> tag (as it is contained in its own block it shouldn't introduce any issues)

Depends on change I53fd7b54e765d5f349abe74481bbc6f62f2b349e in core

Change-Id: I97667feecc8daff4bd0d1220a5fda83035b3f7c1
Merge "Adds dozens of parser tests"