ENH: improve test