complete unittest from rfc