Use world's wrap in random_walk, and add tests for wrap.