model ajax methods tests