Thomas mock trial team battles way to state contest