CRM-14093 - add php & js unit tests for mutiple api call syntax