more regression tests and generalization