Fixed update ingredient bug, more tests.