Ported run_tests to php, added config and data json support
Added more configs