test for implementing RFC862 867 868