Add dummy tests and run test and flake8 in travis.
Fix flake8 errors