tests: add more tests for resolve