test: copy keyfile and read key sucessful