make run_test endpoint configurable