find all the files in the current folder with the name "test-a" and move them to the folder test-10. execdir runs the command in the directory where the file is found.
find ~ -type f -name test-a -execdir mv {} test-10 \;