added and improved tests (copy test)