Fix pinv and null for new svd convention and make the tests useful