updated `pause for` tests

sometimes the tests failed if the timer took too long to complete
this could happen under high CPU load if you were unlucky
gh-84
added support for functions with default arguments

it supports functions and methods, but not tasks
gh-96