Added models and model tests for blog engine