“I just want to know if when a male have to take a test to see if he or she is the parent is there any way they can substitute someone else after the ID have been checked.”
You must live in a very interesting world where a male, taking a paternity test, can be a “he or she”.
First, the answer is almost certainly “no”, unless your testing facilities have the laxest of security measures.
But second, let me take this opportunity to say that you are the sort of man (or boy) who makes all of those other single fathers out there look so bad. Shame on you for not wanting to be a father to your child, if it is your child, which you apparently a) believe that it is, and b) don’t want to admit.
Step up to your responsibilities. If you don’t set an example for this child, who will?