Hardware-based Demonstration of Time-Delay Interferometry and TDI-Ranging with Spacecraft Motion Effects