Add a PHPUnit configuration.
Fix unit tests, remove unnecessary functionality.

- Removed the "desiredUnits" option because it added unnecessary complexity to the formatter.
- If we get back to a point where it needs to be added back in, it might be easier to
  instantiate a byte formatter object and let this function wrap access to it instead.