Oops, copying test case without thinking. Will change to ``assert_allclose``.