fixed test case to work with changes made for vm list command as part of PR 560