Add test for group_by_tags

I can break it down if needed.
Nevermind... this is a Python 3 thing, isn't it?