Add unit test for default resolver