Added tests for context initializers on DispatcherServlet

Issue: SPR-11314
Polishing