Don't depend on Rails
Simple test coverage
Merge pull request #4 from kirs/tests

Specs