flake8 cleanup of tests
Added UTF-8 notice at top of code