Simple avoiding obstacle test