Restangular: fix test compilation