tests for variableLength normalizedKeys and equalsWithReference