Update test_post_tags.py

Refactored and added tests.