unit tests and random food
use random food
typo fix