Make sure tags string has a trailing comma when adding a badge.
Make sure tags actually exists before running .endswith() on it.
Complete get_badges_from_tags, and all tests are passing! :D