Creating the directory should not be considered as a test script. It should go in ``before_script`` if it is really needed