set timeout interval in method call + tests