formatter tests