Add a test of main with repo token