Maintenance

Fixed the build and removed deprecated rspec methods.