Add output capture for rspec3 integration