Commissioning of the heating neutral beam injector on the TCV tokamak