add a testsketh to debug the wander function