Fix for Webtest

Fix for following webtest: 

WebTest_Event_ParticipantSearchTest::testParticipantSearchEventDateAndType
WebTest_Member_OnlineMembershipRenewTest.testOnlineMembershipRenew
WebTest_Member_OnlineMembershipRenewTest.testOnlineMembershipRenewChangeType
WebTest_Member_OnlineMembershipCreateTest.testOnlineMembershipCreateWithContribution
WebTest_Member_OnlineMembershipCreateTest.testOnlineMembershipCreate
WebTest_Member_SeperateMembershipPaymentTest.testSeperateMembershipCreate
WebTest_Contribute_ContributionPageAddTest.testContributionPageSeparatePaymentPayLater
WebTest_Contribute_OnlineContributionTest.testOnlineContributionAdd
WebTest_Contribute_AddBatchesTest.testBatchAddMembership
WebTest_Contribute_AddBatchesTest.testBatchAddContribution