Remove mock calls (use real web api)

1) also add a test option to package.json (by typing npm start in this
directory, it will start the http server, npm test will run the unit
tests)