fix and extend tests
fix and extend tests

webmaster128/botan,webmaster128/botan,randombit/botan,webmaster128/botan,randombit/botan,webmaster128/botan,randombit/botan,randombit/botan,webmaster128/botan,randombit/botan