Add context hierarchy tests to Spring MVC Test

Issue: SPR-5613