Refactor tests into analyzers packages.
Refactor tests into alg package.