Unit tests for device, logs and status