Correct formatting for MacAddr.
Add test cases for ethernet and IP header structs.