fixes. rename non-test methods in test.py / ensure deploy dir exists / fix config.

Change-Id: I076a689228f70cf018aba7b7735ab703e789f2dd