unit test for volume and group snapshot apis