adds unit tests for Discourse.Resolver