Fix unit test in spring framework 4.0x not support servlet 2.x