finished basic rspec tests.  Cleaned up classes to inherit from main class thanks to rspec test