Fix new loan item step and add a test.

Fix the new loan item step, and add a test that would have caught the
problem.

Change-Id: If4a23c9564eba1f858cda740dfbc762eded37137
Add missing uitest file from previous commit

Change-Id: I3bb59e405ac05c9398e8487dc1a7abd500112040