add and clean up testing around rails helpers
Merge pull request #14 from ngrandy/rails_tests

add and clean up testing around rails helpers