Add basic regression test for modf() issue.

encouraged by deraadt and miod