update method name to getRuntimePath
add test