created test for guildservice.
refactored guildservice