Refactor spec
Updated Rails (to 4.1.1) and the other dependencies
Improved how to test