tests: add timeout tests
tests: add timeout tests

sanity tests for timeouts.

v2:
  use test_sleep instead of sleep
  add few more test-cases

Signed-off-by: Marek Chalupa <a05df156a69ad59faa9af9b666ef78009594c145@gmail.com>
Acked-by: Pekka Paalanen <0f6ae7001e34c37b02fb2c1c2573ddf8f442136a@collabora.co.uk>

bitfactor/wayland,eyolfson/wayland,eyolfson/wayland,abooij/wayland,abooij/wayland,tulcod/wayland,bitfactor/wayland,mchalupa/wayland,mchalupa/wayland,sir-murray/wayland,sir-murray/wayland,tulcod/wayland,bitfactor/wayland,tulcod/wayland,eyolfson/wayland,sir-murray/wayland,mchalupa/wayland,abooij/wayland