Updated the automatic examples testing with Makefile

The changes including changes of create-table.js following the example on website, changed the path of the config.json with relative path.  Moved the Makefile to root dir from test directory and Let circle run the Makefile without error.