Add test of legacy Tag object
Merge commit '5f9eecee6e0c04612f286bb3ce2b44a488f1e46a' into HEAD