Added doc blocks to purify filter and removed test config