add integration tests for tags