it is not to test "coding ability" at all! it tests, drive, passion, competitiveness, motivation... the skills that are more important in a startup than raw ability to code.
the coder who tries his hardest on every second in sports, is, more likely than not, going to be the better colleague because he/she will do whatever it takes to win.