removing testcases and fixing pep8