Napisałem testy do utils oraz views.

https://gist.github.com/8r2y5/892416a260a70fb38d07
You shouldn't depend on other methods. If this method changes, the test will fail.