Fix output github and update test.