added some unit tests for the blog controller