Move tests to tests directory.
Add csign test.
Fix zero-length sign.open test.
Need more test when message length hit 40.