added getLocation test