Added initial unit tests and renamed to amd-resolver