Upgrade rspec
Spec helper cleanup
Create shared examples for capture output