Use functions to create generators in tests

:+1: