Protecting against compiler errors in expectedValueTest.