Fixed ClassGenerator for a latest behat 3.0 RC