CRM-13981 QA fixes

----------------------------------------
* CRM-13981:
  http://issues.civicrm.org/jira/browse/CRM-13981