fix spec tests
Merge pull request #71 from wleese/fixrspectests

Fix most rspec unit tests errors