tutorial section 5.3 - finished (excl. silly code duplication inside rspec)