add matlab test and new small example