readapt rspec tests