I tried the sample code with the module's TX pin connected to the Arduino's TX pin
That doesn't sound good, unless it's a typo. TX needs to be connected to RX and vice versa. But as Grumpy_Mike points out, if you want to emit the data so you can read it over a serial port as well, you're going to need two.