Added tests to copy() and added a gitignore