Add more programmatic testing to the scale_facet_wrap test.

Don't just rely on the image comparison, also run some checks by inspecting
the axes of the generated plots and making sure that ticks and labels are
present and equal where appropriate.