ENH: fix tests