Importing the Azure module before executing the test script.
Improving the output logging for the remote test script.
Removing VM image on failure.