Finished basic unit tests for Blog

Fixed a couple NPEs possible with current Blog implementation.