vm plugin: use test states instead of test instances

As it's the norm now with other plugins.

Signed-off-by: Cleber Rosa <crosa@redhat.com>