Add new post - Headless testing with PhantomJs and Grunt