Separate instances on same machine

Hi, can I have two separate instances of elasticSearch in the computer?
I want to do this in order to have an isolated test enviroment.

Yes. Change the cluster name.