This commit adds tests for the error paths when encoding and decoding NetAddress with and without the timestamp field.