console.error on directory creation when running tests