test script for large matrix