Regression tests

now nginx only pass a few test cases.