fixes for failing Webtests

also filed:

http://issues.civicrm.org/jira/browse/CRM-13203
http://issues.civicrm.org/jira/browse/CRM-13204