tests/qtest: Replace magic value by NANOSECONDS_PER_SECOND definition