Added various unit tests for the core Affix framework.