Add tests for output of float values with leading/trailing dot.