fix stupid init mistake
add tests to createAzure, tweak analyseDir