Couldn't find what I am doing wrong. All requirements pass except - "If the snake is still alive, then we need to add a head and remove the last element from the snake's tail." which I am clearly doing.
public void move(int x, int y){
SnakeSection new_section = new SnakeSection(getX()+x,getY()+y);
checkBorders(new_section);
checkBody(new_section);
if(isAlive){
if(new_section.getX()==Room.game.getMouse().getX() && new_section.getY()==Room.game.getMouse().getY())
{sections.add(0,new_section);Room.game.eatMouse();}
else{
sections.add(0,new_section);
sections.remove(sections.size()-1);
}
}
}