New test for uniform matrix