Updated test.m