Corrected error in kalman test