finish chapter2. test
 - minimize use of applicationcontext
 - practice test example