Fix test float equality
Make numpy a hard dependencies to avoid obscure error message