jsunit testing and fixes for binding issue whereby branch list causes issue for other like department, unit and section list view.