A bit more explanation of what the problem was would help clarify what is being tested. Might be worth mentioning what the dtype should be in a comment.