'``VolumeName.from_bytes`` converts bytes back into a ``VolumeName``.'

def test_from_bytes(self):

    self.assertEqual(VolumeName.from_bytes('lah.loo'), VolumeName(namespace=u'lah', dataset_id='loo'))
