add test for checking bad pixel repair functions