implemented unit tests for blog controller and the blog repository