test fixes for discretizer