Fix test loc find