[mr2748] move some tested WorldLocation-related code from testing branch.