Fix bug in tag service
Add missing factory method
Add integration tests