TP exam program. Tdd oop task (in ruby)