adding timeouts for running tests

Timeouts added to prevent tests running too long
well, no if you run it from tools dir. But you may have them redefined just here.