tests with rectangular matrices