Permissions test matlab

Updated /components/tests/permissions_test/*.m , with scripts for iterative permissions test via matlab