add rspec test helpers to imrpove specs