B use rspec

These changes provide basic Rspec support.