agent: add test for conflicting tag options and tags_file config