add test for resolve-local