J.P. Morgan interview question

How would you test a given code?