Add transaction test for Category.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>