Fix order number generation

And add a scenario to cover it.
Haven't tested the scenario because I have issue running behat here: 

    $ bin/behat
      [Behat\Testwork\ServiceContainer\Exception\ExtensionInitializationException
      `Behat\MinkExtension\Extension` extension file or class could not be located

I have updated vendors, do you guys have the same error?