To test arbitrary tcp ModBus commands the QModMaster tool is recommended ModBus Master Application
Looks like there is a new repository for this project called QModBus new Modbus Master Application
To simulate RTU or TCP ModBus meters there are multiple options developed internally: ModBus Meters Simulator