ENH: Better discrete test