Testy #2. [bug_0002] Unit tests added.

https://gist.github.com/lukkolstx/729630d852e556d43d74
Fixed. Please review.