Moving scanline filters to classes and adding tests over them