#369 Fixed with unit test.

Please, review.
I didn't get this. If it is a puzzle in terms of [PDD](http://www.yegor256.com/2009/03/04/pdd.html), it has to be formatted differently. otherwise, what is it?