Used the latest features of RSpec to make my tests more compact and elegant