Added missing header to make test compile.
Fixed computation of wait interval for timed receival.

This operation needed a timeout in milliseconds but it was computed in microseconds.
First check-in for timers queue of one-shot timers and unit tests.