Use absolute imports.
Uncomment dispatcher test base methods, fix pep8/pyflakes violations.