Adds resource_for_device testing