tdd-training-homework05 - removing duplications from test code