Merge pull request #1402 from kurund/test-fixes

more webtest fixes and also notices
whitespace fixes
fix for WebTest_Contact_AddTest
fixes for WebTest_Case_ActivityToCaseTest