Added test for agent tags support