Added MATLAB unit tests.