Testing presence of expected values in models