Refactor job prep tests regarding getting urls from correct sources
Correctly reset db state between tests