How to use Ext Ajax in Promise style and test it