Update tests. Fix exception in FeatureCursor