Fixed the script at daemon submission
Fixed Runtest function
Added a exception for loopback interface

The loopback interface is not taken down.
Update the tescases

After every test the vm is restored to base snapshot.