Tests for DeviceWithPricing resource in API