add tests for #896

 * fix bootstrap.js for absolute path of tests, in config.json
 * add tests in tests/clitests/runtests/py
 * create test config.json's in tests/clitests/configs