Extract the test db seed code into an own method