Remove web.xml path from testcase and use WebConfig java file instead