 The "flatworm theory" used in the movie (that flatworms can eat the  remains of their own kind and absorb their knowledge) is based on  actual tests given to flatworms which involved seeing how quickly  they would make the "correct" turn at a Y