Add a ctoc test (#47)

Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>