Fix formatter tests