Move tests into submodule
Clean up pylint messages