Add number formatter tests

The opening brace { needs to be on the new line.