Import helper functions first

Required to make tests pass on windows