Ruby on rails tutorial and tests