Testing for device