Add formatter tests.