Adds GUI tests for LoanDetailsDialog.

Change-Id: Icd5516c8cf6c316ca511efbb70d78f5559eef825