minor changes for rspec tests