TST/ENH: replace not found symbols with nan