tests for normalization and LinReg