Remove unused test code in test_util.py

This doesn't seem to do anything

Change-Id: Ieba6b5f7229680146f9b3f2ae2f3f2d2b1354376
Fix pep8 errors in test code

Change-Id: Ib38ff406a9edae8a8eea97744f5693c00d76a483