@erobinson noticed a bug in formatting page parameters

This adds several tests to ensure that different arguments format the
parameters appropriately.
Merge pull request #26 from bewest/bewest/fix-param-formatting

@erobinson noticed a bug in formatting page parameters