Napisałem testy do utils oraz views.

https://gist.github.com/8r2y5/892416a260a70fb38d07
Add more test cases.