Test the spatial filter