cleanups and reformatting

Also differentiating testing the use of this gem vs. testing the gem itself.