close #2 - task 2: Unit tests 
http://github.com/bejnan/MTFMag/issues/issue/2