Add test to package.json
Only change endpoint in dev