Test harness for rest API