TST: Use NumpyVersion
TST: Don't use generator. Closes #1145.