Removed incorrect range check for push
updated tests