Remove debug print, small code and doc cleanup
Add more tests and restructure SDES test code