Function shorthands API and unit-test module

-x and -xy extensions had their hyphen removed, and test-preds was moved
to it's own module and was rewritten to be more robust using
syntax-parse