update listing 3.37 of section 3.6
4.1: update some tests with ApplicationHelper.