Add number formatter tests

Let's use a normal-sized docblock just like the other tests.