Moneyhub Enterprise Interview Question

How would you test the code?