When creating a transaction there is a validation check performed on the CPF given in the request. If the CPF does not exist or is not real you will receive an error even when using testMode.
If you want to double check if the CPF used in your request is valid or not, we recommend the situacao cadastral website.