Maths champs top test to beat state's best