minor updates to test.m