fix checkstyle violations
fix testVirtualMachineToNodeMetadata