Fix linked list test + timeouts

My first pull request :-)  Fixing unstable tests