add test inspired by pep0386 (ht/ #43)