created rspec testing

created multiple classes and rspec tests
created tests for the migrated class methods'