add test steps
add invoke_func_with_timeout_examples
adjust the order of arguments
change alarm to setitimer