addition changes to pass tests
fixes for rspec