don't know exactly why this spec was failing ramdomly quite frequently. I believe it's doing more harm than good
DRYed the code a bit
Merge pull request #347 from diogob/specs_improvements

Specs improvements