implemented function timeout handler

Signed-off-by: Arvind Chembarpu <achembarpu@gmail.com>
fixed formatting

Signed-off-by: Arvind Chembarpu <achembarpu@gmail.com>
major rewrite of tester
added extra opts, clear error msgs,
neater output and optimized functions

Signed-off-by: Arvind Chembarpu <achembarpu@gmail.com>
updated timings

Signed-off-by: Arvind Chembarpu <achembarpu@gmail.com>