update location list to location dict in test