test with the $resource for the lican module