Removed redundand code
Improved blogpost tests