added comments to test.m