More tests for VirtualMachine.Resume command

Tests VirtualMachine.Resume does resume threads only if we perform
this command as many times we performed VirtualMachine.Suspend
command (testResume002).

Tests VirtualMachine.Resume does nothing (and returns no error) if
we did not perform any VirtualMachine.Suspend before (testResume003).

Refactors VirtualMachine.Resume test to factorize code.

Bug: 17974047

(cherry picked from commit eb5230c7c86f552a1238e29877738aa784acf75e)

Change-Id: I032ad819847c884de032d540532f5fbe0ccd48a9
1 file changed