A Test of the Principle of Optimality