added regularization test