Add test function for VOL primitive.