Test getting device's MAC address