Update tools/test.py for directory rename

Change-Id: Ia16ec6973740f1c27cfd17f47435ea51caef3e2e