Added QSignalSpy to TestClient to ensure that reply signal is emitted and contains correct value.