Add unit test for blog.js