Evaluate input with nock funciton.