add Makefile and fix python path in test_json.py