Just following the tutorial of Behat available on http://dev.tutsplus.com/tutorials/bdd-with-behat--net-36171