add test for tags in viewer