Test that helpful error message is actually displayed.