add ct[1] as submodule for unit testing (see #7)

[1]: https://github.com/kr/ct.git
tweak the public header
add some unit tests (fix #7)