use the correct API and fix the broken test in said API
use the correct API and fix the broken test in said API

Enyo-DCO-1.1-Signed-off-by: Cole Davis <cole.davis@lge.com>

wikieswan/enyo,bright-sparks/enyo,mcanthony/enyo,zefsolutions/enyo,zefsolutions/enyo,soapdog/enyo,bright-sparks/enyo,wikieswan/enyo,enyojs/enyo,mcanthony/enyo,airspringsoftware/enyo,enyojs/enyo,kustomzone/enyo,PKRoma/enyo,beni55/enyo,beni55/enyo,kustomzone/enyo,airspringsoftware/enyo,soapdog/enyo,PKRoma/enyo