Added null-check for testVMId
Merge pull request #44 from maksimov/develop

Added null-check for testVMId