Testing specifications of economic agents' intertemporal optimum problems in the presence of alternative models