check kwf_branch only if file exists
remove broken test