add ApplicationContext junit test