added rspec for params class