A Test Framework for Competitive Programming