remove unused imports and autopep8.
refactor findInWholeWord and fix tests.
Merge pull request #147 from pfctgeorge/fix-test-script

Fix test scripts