tests: add pep8 and pylint tests
remove legacy file
tests: fix pep8, pylint error