Identify Python files with 'from nose.tools import *' as tests correctly

Change-Id: If01ccf7830d2c6b6c45ddd375c03d25b9e4d5853