Move Router test setup to a helper function