rename internal variable to be more explicit

in Project.dir rename an internal for a more explicit name
rename a test

test_format appeard twice so the first one
was never executed