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

Spec tests for all the existing classes.  Additionally fixing some minor logic issues in some ERBs.