Add test, factory, and routes for blog posts