If you want to simulate a serial port within the same linux operating system, launch the port.sh provided in the repo as follows:
sh port.sh
Afterwards, open a terminal write to /dev/ttyS0 and another to read from /dev/ttyS1.
It probably works the other way around, but I have not tested it yet.