Testing the NIRSpec instrument on the Webb