Test case for regularization of SAE.