dirlist= {"UTL","ASM","TST","NLS","PRS","SBN"};
for ii=1:length(dirlist)
  if (! exist (fullfile (fileparts (mfilename ("fullpath")), "inst"), "dir"))
    ## Run this if the package is installed
    rmpath ( [ fileparts( mfilename("fullpath")) "/" dirlist{ii}])
  else
    ## Run this if we are testing the package is installed without installation
    rmpath ( [ fileparts( mfilename("fullpath")) "/inst/" dirlist{ii}])
  end
end
