added macro for wrong args str
added tests for get_hardware_address