new tests for missing masks: to avoid error on line if wtk[idx]==true, in case that wtk would be empty