Fixed some pyflakes errors.

Change-Id: Id588f8482e5808d353023b59102358e71c56bf11
Added pyflakes run_test.sh file.

Change-Id: Ia189c11806df74152e0b73881f0f95de08b72476