Add tests for fast_atof

The custom implementation for fast_atof currently lacks test coverage,
making it susceptible to regressions with future changes. Add some
basic test coverage, in addition to a few documented cases that are
known to fail.