add some nonregression tests.