Food chain clean-up

Updated formatting for consistency and adherence to the provided style guide.

Also reordered _expected_ and _actual_ values in assertions (they were swapped which led to confusing error messages on test failure).