Adding cooking tests and removing dead code.