Added ha_test
flake8'ed all the files\!