fix get_device_price
tests