adds unit tests for Discourse.Resolver
Merge pull request #1467 from velesin/resolver_tests

adds unit tests for Discourse.Resolver