added a global rand test matrix