Fixed sed command to remove reboot operation.

Added test output for creating a new template machine to continue testing script from faster.