Consolidate, standardize and extend the CURRVAL & NEXTVAL functions.
More YAML tests.
Correct error message.