test($location): fix broken tests

sorry, my bad!