Use helper functions to setup tests.