Add tests for volume_metadata

Add tests and tests for volume_metadata.

Change-Id: I37f96ec6d552eed0f5222505a85b90db0dc326b5
Merge "Add tests for volume_metadata"