Fix a bunch of bugs in test result posting path.