test the blog function