Add test for spring context hierarchy