Removes references to QuantityValue from SnakTest.

This makes the SnakTest robust against the refactoring of
QuantityValue, as proposed in I1d1cb7367d7de.

Change-Id: Ie7f15f3585fda7245824712d2592c737cc1294f8