modified the header in tests/*.py
fixed minor typos with the help of Pylint