Ideally you'd want to squash all the commits into just one.
For doing that you would need to identify the first commit you have made in your testFeature branch and then get the SHA of that commit's parent commit.
Once you have that you can squash your commits using git rebase.
git rebase -i <SHA of parent commit>
There you will be presented with an interactive view to squash and pick commits. This view contains commits such that the top most commit is the parent of the second commit, the second commit is the parent of the third commit and so on.
Here, note what git tells you about squash: s, squash = use commit, but meld into previous commit. So ideally you will mark all the old commits as s and pick the most recent commit (if you want just one commit).
You can of course also change the final message of the squashed commit right after you move out of the interactive view for squashing and picking the commits you want.
Here's a good tutorial that might help you get started.
Hope this was what you were looking for.