added test_encode_macho_header
tolerate a trailing new line in string to be decoded