Added testmethod for emulator
Logging device info, when in debug mode