finish testing resource backend service, add test command to package.json