Add tests of Location deprecated son code