Fixed PEP8
Split test runner and handler