system-test: port simple tests, all are exact copies from apache