Added test tools functionality

Added functionality that enables the user to execute
a script before, during or after the test is executed
on the subject to be able to collect logs or perform
actions.