Added test constructor with random matrices