Modify runtests to post required json