Testing for weights in makeRegrTask