added functional tests to the blog controller