Add test case for tags command