Add testing

This PR adds a dummy Rails app and tests to ensure that bad code doesn't make this gem fall flat on it's face.