Fix bool comparision in recursive copy tests