Use global timeout instead timeout per method

This is a better version instead using a timeout for every method. The
user can now define a timeout for a certain method (adding it directly to
the unit test) and the global timeout is for security.