added test move to other end from begining