refactoring vvm test cases