Added test infrastructure inspired by WeasyPrint. First test is failing because a minimum page size of 16 seems to be set somewhere and there is an off by one error with the background-color. Next commit will focus on making the test pass.
Fixed the sizing issue by using the page size rather than the viewport size. Off by one on the bottom margin is still preventing the test passing.