fix restangular test