Previously all snapshots captured was a string representation of a function (`[Function]`). This made the tests useless because the result would always be a Function no matter what and so they will always pass, even if material changes happened.
This reverts commit eaad2d56f0.
eaad2d56f0