Add health check for device

Add health check for device before a test cycle