Added blog functionality and tests