Tests are from RFC3629, section 7.