test of update_attrs

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