when `pwd` == "tests/", dirname() return blank. fixed.
i hate unnecessary imports.
no consensus on key name restrictions yet. obey letter, not spirit.