Check that FreeMarker references are resolved correctly