Fix timeouts tests