Adding guard automated testing and a Rails helper"