Change main function prototype in tests so that SDL can hook in properly on windows