Unittest - Allow specifying custom timeout for slow commands.

* Useful when testing with big tasks (1000+ annotations) or sync
operations that take longer than 1 second (default)