Added rspec testing for Base class