Add formatter tests