snake tests working