fixed issues with rspec
fixed rspecs