Rewrite tests.

Also disable a test that was triggering a compiler bug in Visual
Studio 2012. The disabled tests were only sanity checks and weren't
testing the double-conversion library.
3 files changed