t3404: Use test_commit to set up test repository