update test applicationContext to fix tests