Use fake function when one cannot be loaded and more precise testAssignment for collections