Testcase for Spring Security Java Config