MATLAB provides unit testing http://www.mathworks.com/help/matlab/matlab-unit-test-framework.html Implement comprehensive tests for datajoint-matlab.