Update locate test cases

Signed-off-by: crynobone <crynobone@gmail.com>
Bad variable

Signed-off-by: crynobone <crynobone@gmail.com>
Define public path

Signed-off-by: crynobone <crynobone@gmail.com>