fix .[dic;ndx;f;val] (from Kevin) and tests - #187