Use rspec 3
Use throw/catch instead of raise/rescue