Add test for GET rest api
Refactor javascript package name.