pep8 refactoring - removed == True to is True, etc
fixed import tests - all imports succeed