Added tests for l2 regularization and regression without regularization