export function patchNoteFieldsForTest(...replacements: Function[]) {
  let original: any;

  beforeEach(() => {
    original = noteFields.slice(0);