Add specs for SnapshotsController#compare_snapshot

This just adds some simple tests for this controller method. To get this
to work, I needed to set up a snapshot that had a baseline. I added the
:with_baseline trait to the snapshot factory for this purpose.

Change-Id: Icd62a0136fac8fc458f25f875d7efdb06271dc29