Disable unreliable test.

Also adds rspec niceties and fixes ruby warnings for unused variables in
test code.