Exact tests via multiple data splitting