Fixing minor logic issues, adding spec tests, updating README with testing
Merge pull request #3 from mwhahaha/spec_tests

Fixing minor logic issues, adding spec tests, updating README for testing