added test on copy lib if is the same file.