unit tests: Refactor to accomodate lazy evaluation

Do a complete resolution of all functions on each snippet, rather than
specifying individual function resolution methods to call.

Change-Id: I63f8a53d8a573a2e30bd9a8d901811367a570240
Merge "unit tests: Refactor to accomodate lazy evaluation"