Implement GetLocations in the new test util

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>