Crm 13964

webtest and CRM test for http://issues.civicrm.org/jira/browse/CRM-13964