Make sure the sampling pipeline works