TST: stats.scoreatpercentile: use assert_allclose, clean up imports.

Addresses Josef's review comment.