Add tests and comments for np.nan hack
TST: travis tests against mpl < 1.4.0 and latest version