test reference ordinals of code columns