Test docs and phantomcss bug

# Changes
 - Improved documentation for test helper functions.
 - Explicitly compare generated PhantomCSS diff files, since the `compareAll()` function would sporadically skip running any visual tests.