Getting specs to run.
Removing deprecation warning.
Merge pull request #8 from ahare/fix-specs

Fix specs